package com.ql.domain;

import com.ql.utils.DateUtils;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;


import java.util.Date;

/**
 * 生产记录
 */
@Data
@NoArgsConstructor
@ToString
public class CementMixing {
    private int id;//主键
    private String device_type;//设备类型
    private String device_code;//设备编号
    private String pile_driver_num;//桩机号
    private String stake_mark;//桩号
    private String longitude;//经度坐标
    private String latitude;//纬度坐标
    private String slope;//斜度
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date start_date;//开始日期start_date
//    private String start_dateStr;//开始日期

    private String pile_driver_state;//桩机状态0:停机 1:下钻 2:提钻
    private String phase;//0:初搅 1:复搅
    private String drill_specification;//钻头类型 0:正常 1:扩大头
    private String water_cement_ratio;//水灰比
    private String drilling_depth;//钻孔深度m
    private String drilling_speed;//钻孔速度cm/min
    private String electricity;//电流大小 A
    private String cement_flux;//流量,水泥浆注入L/min
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date end_date;//结束日期
    //    private String end_dateStr;
    private String pile_length;//施工桩长 m
    private String au_aol;//累计灰量Kg
    private String au_aoc;//累计浆量L
    private String rih_av;//平均下钻速度cm/min
    private String to_drill_av;//平均提钻速度cm/min
    private String average_aol;//平均灰量Kg/m
    private String average_aoc;//平均浆量L/m
    private String average_current;//平均电流A/s
    private String pile_time;//成桩时间s
    private String bottom_pile_aoc;//下部桩浆量L
    private String bottom_pile_aol;//下部桩灰量Kg
    private String empty_stir_depth;//空搅深度m
    private String cjsd;//初搅深度
    private String fjsd;//复搅深度
    private String zddl;//桩端电流
    private String maxdl;//最大电流
    private String zdts;//最大提速
    private String zdzs;//最大钻速
    private String zdxd;//最大斜度
    private String kdtzc;//扩大头桩长
    private String kdtjl;//扩大头浆量
    private String kdthl;//扩大头灰量
    private String xbzjl;//下部桩浆量
    private String xbzhl;//下部桩灰量
    private String yjjb;//预警级别
    private String pj;//评级

    public CementMixing(String drilling_depth, String au_aol, String electricity, String drilling_speed, String cement_flux) {
        this.drilling_depth = drilling_depth;
        this.electricity = electricity;
        this.au_aol = au_aol;
        this.drilling_speed = drilling_speed;
        this.cement_flux = cement_flux;
    }

}
